<template>
  <Layout></Layout>
</template>

<script setup>
import {useUserStore} from '@/stores/user';
import {onMounted} from 'vue';
import Layout from './components/Layout.vue';

const userStore = useUserStore();


onMounted(() => {
  userStore.login(localStorage.getItem('userId'), localStorage.getItem('userName'), localStorage.getItem('token'))
});

</script>
<style scoped></style>
